﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TransportAbstractionLibrary.Exceptions;

namespace TransportAbstractionLibrary
{
    public interface IProtocolUpperLayer : IProtocolBase
    {
        void Bind(IProtocolLowerLayer lowerLayer);
        void Receive(byte[] data);
        void OnException(TALException talException);
        void ConnectionClosed();
        IProtocolLowerLayer LowerLayer{get;}
    }
}
